package com.robert.data_generator.enums;

/**
 * DataTypeEnum:
 *
 * @author zhaoshengtao
 * @date 2024/05/23
 */
public enum DataTypeEnum {
    DATE(1, "时间格式"),
    MIXED_CASE(2, "字母大小写混合"),
    CAPITAL(3, "字母纯大写"),
    LOWER_CASE(3, "字母纯小写"),
    LETTER_MIXED_NUM(4, "字母数字混合"),
    NUMBER(5, "纯数字"),
    DECIMALS(6, "小数"),
    CHINESE(7, "纯中文"),
    CHINESE_NAME(8, "纯中文名"),
    IP(9, "IP地址"),
    URL(10, "链接"),
    BASE64(11, "BASE64格式"),
    MD5(12, "MD5格式"),
    JSON(13, "json"),
    TEST(8, "纯中文名");

    private int value;
    private String name;

    DataTypeEnum(int value, String name) {
        this.value = value;
        this.name = name;
    }

    public int getValue() {
        return value;
    }

    public String getName() {
        return name;
    }
}
